package com.my.mapper;

import com.my.pojo.Check;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CheckMapper {

    public void addCheck(Check check);

    public List findCheck(@Param("userId") Integer userId, @Param("startDate") String startDate, @Param("endDate") String endDate);

    public List<Map<String, Object>> countCheck(@Param("departName") String departName, @Param("startDate") String startDate, @Param("endDate") String endDate);
}
